<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String parent = request.getParameter("parent");
	if(parent == null || "".equals(parent)){
		out.println("[{text:\"北京\"},{text:\"广东\"}]");
	}else if("北京".equals(parent)){
		out.println("[{text:\"海淀\",leaf:true},{text:\"昌平\",leaf:true}]");
	}else if("广东".equals(parent)){
		out.println("[{text:\"广州\",leaf:true},{text:\"汕头\",leaf:true}]");
	}
%>